/**********************************************************************
* File: item.h
* ID  : 
* Purpose: Delcare the prototype for class Item.
* Date   : 2004/04/19
* Author : T.S.Yo
* Description:
**********************************************************************/

#ifndef ITEM_H
#define ITEM_H

#include <string>

using namespace std;

class Item
{
    public:
    // Constructor
        Item();
    // Destructor
        ~Item(); 

    // Get Data Member
       string getKey() const;
       string getName();
       bool   getAccessed();
       int    getLocation();
       int    getPoint();
       int    getWeight();
       string getDescription();

    // Set Data Member
       void setName(const string &newName);
       void setAccessed(const bool &newAccessed);
       void setLocation(const int &newLocation);
       void setPoint(const int &newPoint);
       void setWeight(const int &newWeight);
       void setDescription(const string &newDescription);
        
    private:
        string name;               // Name of the item
        bool   accessed;           // Whether first accessed
        int    location,           // Where the item is
               point,              // Points earned when first get this item 
               weight;             // Weight of the item 
        string description;        // Description of this item
};
        
#endif // #ifndef ITEM_H

